/* Lac Viet ERP                                                
 * Copyright (c) 2013 Lac Viet                                 
 * http://www.lacviet.com.vn                                   
 *=============================================================
 * File name            : IV_tblPickingListsLines.cs         
 * Created by           : Auto - 03/29/2014 10:21:30                     
 * Last modify          : Auto - 03/29/2014 10:21:30                     
 * Version              : 1.0                                  
 * ============================================================
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace LineOfBusiness.Poco
{
	[Serializable]
	public partial class IV_tblPickingListsLines : BaseEntity
	{
		public IV_tblPickingListsLines()
		{
			this.Quantity = 0;
			this.SalesPrice = 0;
			this.NetAmt = 0;
		}

	    #region Properties

		private Guid _RecordID;

        [Key]
		[Required]
        public Guid RecordID 
		{ 
			get
			{
                return _RecordID;
			}
			set 
			{ 
                _RecordID = value;
			} 
		}

		private string _ItemID;
		[Required]
        [MaxLength(20)]
        public string ItemID 
		{ 
			get
			{
                return _ItemID;
			}
			set 
			{ 
                _ItemID = value;
			} 
		}

		private string _UMID;
		[Required]
        [MaxLength(20)]
        public string UMID 
		{ 
			get
			{
                return _UMID;
			}
			set 
			{ 
                _UMID = value;
			} 
		}

		private decimal _Quantity;
		[Required]
        public decimal Quantity 
		{ 
			get
			{
                return _Quantity;
			}
			set 
			{ 
                _Quantity = value;
			} 
		}

		private decimal _SalesPrice;
		[Required]
        public decimal SalesPrice 
		{ 
			get
			{
                return _SalesPrice;
			}
			set 
			{ 
                _SalesPrice = value;
			} 
		}

		private decimal _NetAmt;
		[Required]
        public decimal NetAmt 
		{ 
			get
			{
                return _NetAmt;
			}
			set 
			{ 
                _NetAmt = value;
			} 
		}

		private string _PickingNo;
		[Required]
        [MaxLength(20)]
        public string PickingNo 
		{ 
			get
			{
                return _PickingNo;
			}
			set 
			{ 
                _PickingNo = value;
			} 
		}

		private DateTime? _CreatedDate;
        public DateTime? CreatedDate 
		{ 
			get
			{
                return _CreatedDate;
			}
			set 
			{ 
                _CreatedDate = value;
			} 
		}
		/// <summary>
        /// Column: IV_tblPickingLists.PickingNo
        /// </summary>
		public IV_tblPickingLists IV_tblPickingLists { get;set; }


        #endregion
	}
}
